package com.baosight.risk.api.rire;

import com.baosight.risk.base.service.BaseService;
import com.baosight.risk.service.riwa.entity.RiwaEquityInvest;
import com.baosight.risk.service.riwa.entity.RiwaEquityInvestMain;
import com.baosight.risk.service.riwa.vo.RiwaEquityInvestVO;

import java.util.List;

public interface RiwaEquityInvestService extends BaseService<RiwaEquityInvest> {

    List<RiwaEquityInvestMain> selectList(RiwaEquityInvestMain equityInvestMain);

    RiwaEquityInvestMain selectByYearAndQuarter(RiwaEquityInvestMain main);

    RiwaEquityInvestVO getById(String id);

    RiwaEquityInvestVO saveEquityInvest(RiwaEquityInvestVO equityInvestVO) throws Exception;

    Integer save(RiwaEquityInvestMain equityInvest);

    RiwaEquityInvestMain selectLastQuarter(String acctYear, String quarter);
}
